package com.atguigu.yyj.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author：yyj
 * @Package：com.atguigu.tingshu.search.annotation
 * @Project：tingshu_parent240829
 * @name：Cacheable
 * @Date：2025/2/15 20:09
 * @Filename：Cacheable
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Cacheable {

    String cacheKey() default "";

    String distroLockKey() default "";

    String distroBloomKey() default "";

    boolean distroBloomSwitch() default true;

    boolean distroLockSwitch()  default true;

}
